#include "ThreadPool.hpp"
#include "Task.hpp"

int main()
{
    ENABLE_CONSOLE_LOG();
    std::unique_ptr<My_ThreadPool::ThreadPool<task_t>> tp = std::make_unique<My_ThreadPool::ThreadPool<task_t>>();

    tp->Start();

    for(int i = 0; i < 10; i++)
    {
        tp->Equeue(Push);
        sleep(1);
    }

    tp->Stop();

    tp->Wait();

    return 0;
}